#define  _CRT_SECURE_NO_WARNINGS  1
#include <stdio.h>
int main()
{
	int C = 0;
	double F = 0;
	scanf("%d", &C);
	F = 9 * C / 5.0 + 32;

	printf("celsius = %d, fahr = %.2lf", C, F);


	return 0;
}